package com.dzh.service;

import com.dzh.pojo.Bill;
import com.dzh.pojo.BillRes;
import com.dzh.pojo.Books;
import sun.rmi.runtime.Log;

import javax.swing.*;
import java.util.List;

public interface BillService {
    //增加一个Book
    int addBill(Bill bill);
    //根据id删除一个Book
    int deleteBillById(int billId);
    //更新Book
    int updateBill(Bill bill);
    //根据id查询,返回一个Book
    BillRes queryBillById(int billId);
    //查询全部Book,返回list集合
    List<BillRes> queryAllBill();
}
